package domain;

public class User {
	
	private Integer id;
	private String dni, name, surname, user, pass, email;
	
	public User(){
		id = null;
		dni = "";
		name = "";
		surname ="";
		user = "";
		pass = "";
		email = "";
		
	}
	
	public User(Integer id, String dni, String name, String surname, String user, String pass, String email){
		this.id = id;
		this.dni = dni;
		this.name = name;
		this.surname = surname;
		this.user = user;
		this.pass = pass;
		this.email = email;
		
	}

	public Integer getId() {
		return id;
	}
	
	/*public void setId(Integer i) {
		id = i;
	}*/

	public String getDni() {
		return dni;
	}

	public void setDni(String d) {
		dni = d;
		
	}

	public String getName() {
		return name;
	}

	public void setName(String n) {
		name = n;
	}

	public String getSurname() {
		return surname;
	}

	public void setSurname(String s) {
		surname = s;
		
	}

	public String getUser() {
		return user;
	}

	public void setUser(String u) {
		user = u;
	}

	public String getPass() {
		return pass;
	}

	public void setPass(String p) {
		pass = p;
		
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String e) {
		email = e;
		
	}

}
